package com.fqgj.xjd.user.client;

import com.fqgj.common.api.Response;
import com.fqgj.xjd.user.client.response.UserAuthEmail;

public interface UserEmailService {

    /**
     * 获取用户email信息
     */
    Response<UserAuthEmail> getUserEmail(String userCode);

    /**
     * 保存用户email信息
     */
    Response addUserEmail(UserAuthEmail userAuthEmail);

    /**
     * 通过用户email获取userCode
     */
    Response<String> getUserCodeByEmail(String email);
}
